package gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.member.bo.MemberLoginBO;
import gulimall.member.bo.MemberRegistBO;
import gulimall.member.bo.SocialUserBO;
import gulimall.member.entity.MemberEntity;
import gulimall.utils.PageUtils;
import gulimall.vo.MemberRespVO;

import java.util.Map;

/**
 * 会员
 *
 * @author HLF
 * @email 1132814637@qq.com
 * @date 2022-05-09 08:00:24
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regist(MemberRegistBO memberRegistBO);

    void checkPhoneUnique(String phone);

    void checkUserNameUnique(String username);

    MemberRespVO memberLogin(MemberLoginBO memberLoginBO);

    MemberEntity memberOauth2Login(SocialUserBO socialUserBO);
}

